<div class="uk-layui-form">
    <form class="layui-form uk-form" action="/admin/callcenter/acl/save.html" data-toggle="ajax-form" data-inner="#callCenterContent">
    	<input type="hidden" name="hostid" value="${pbxHost.id!''}">
        <div class="layui-form-item">
            <label class="layui-form-label">名称：</label>
            <div class="layui-input-inline">
                <input type="text" name="name" required lay-verify="required" placeholder="请输入策略名称" autocomplete="off" class="layui-input">
            </div>
            <div class="layui-form-mid layui-word-aux">
            	<font color="red">*</font> 
            	策略分组名称，请使用字母填写
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">默认策略：</label>
            <div class="layui-input-inline">
                <select name="defaultvalue" lay-verify="required">
			        <option value="alllow">允许</option>
			        <option value="deny">禁止</option>
			      </select>
            </div>
            <div class="layui-form-mid layui-word-aux">
            	<font color="red">*</font> 
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">策略内容：</label>
            <div class="layui-input-inline" style="width:400px">
            	 <textarea name="strategy" placeholder="请输入策略内容" class="layui-textarea" style="height:150px;"></textarea>
            </div>
            <div class="layui-form-mid layui-word-aux">
            	<font color="red">*</font> 
            </div>
        </div>
        
        <div class="layui-form-button">
            <div class="layui-button-block">
                <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>
</div>
<script>
layui.use('form', function(){
  var form = layui.form();
  form.render();
});
</script>